'use strict'

const path = require('path')

module.exports = {
  entry: [
    './app',
  ],
  output: {
    path: __dirname,
    filename: 'bundle.js',
  },
  devtool: 'eval-source-map',
  resolve: {
    alias: {
      '@': path.join(__dirname, 'src/')
    },
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        include: __dirname,
        loader: 'babel-loader',
      },
    ]
  },
}
